using System;
using Microsoft.Xna.Framework;
using RpgXna.Model.Menu.MenuBehaviors;

namespace RpgXna.Model.Interfaces.ContextMenu
{
    public class ContextMenuItem : IContextMenuBehavior
    {
        

        public string ItemName { get; protected set; }

        protected Action Action;

        public void Execute()
        {
            if (Action != null)
            {
                Action();
            }
        }

        public Rectangle Box { get; set; }

        public bool IsSelected { get; set; }
    }
}